package com.example.dessertstoressm.Service;

import com.example.dessertstoressm.domain.Account;

public interface AccountService {
    Account getAccountByUsername(String username);

    Account getAccountByUsernameAndPassword(String username, String password);

    void insertAccount(Account account);

    void updateAccount(Account account);

    Account getAccountByPhone(String phone);

}
